package org.xiaov.controller;

import org.xiaov.pojo.UserPO;
import org.xiaov.service.UserService;
import xyz.riceball.annotation.Autowired;
import xyz.riceball.annotation.Component;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author liuzhiqi
 * @since 2021/7/3 13:01
 */
@Component
public class UserController {

    @Autowired
    private UserService userService;

    public List<UserPO> findAll() {
        return userService.findAll();
    }


}
